import service from '@/utils/request.js'

// 获取角色列表
export const getRoleList = params => service.get('/sys/role', { params })

// 删除角色
export const deleteRole = id => service.delete('/sys/role/' + id)

// 新增角色
export const addRole = ({ name, description }) => service.post('/sys/role', { name, description })
